package com.topvision.service.impl.hes;

import com.topvision.mapper.hes.VideostreamMapper;
import com.topvision.model.hes.Videostream;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.topvision.service.hes.VideostreamService;

@Service("videostreamService")
public class VideostreamServiceImpl implements VideostreamService {
    @Autowired
    private VideostreamMapper videostreamMapper;

    @Override
    public Videostream queryObject(Integer id) {
        return videostreamMapper.queryObject(id);
    }

    @Override
    public List<Videostream> queryList(Map<String, Object> map) {
        return videostreamMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return videostreamMapper.queryTotal(map);
    }

    @Override
    public void save(Videostream videostream) {
        videostreamMapper.save(videostream);
    }

    @Override
    public void update(Videostream videostream) {
        videostreamMapper.update(videostream);
    }

    @Override
    public void delete(Integer id) {
        videostreamMapper.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids) {
        videostreamMapper.deleteBatch(ids);
    }

    @Override
    public Videostream queryObjectByMap(Map<String, Object> map) {
        return videostreamMapper.queryObjectByMap(map);
    }

    @Override
    public List<Videostream> queryByParam(Map<String, Object> map) {
        return videostreamMapper.queryByParam(map);
    }
}
